package com.yuzhi.master.sewage.rmstSz.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuzhi.master.sewage.rmstSz.entity.request.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MonitoringVo {


    @Schema(description = "污水厂代码")
    private String factId;

    @Schema(description = "污水厂名称")
    private String factName;

    @Schema(description = "进水总量(吨)")
    private BigDecimal jsLg;

    @Schema(description = "出水总量(吨)")
    private BigDecimal csLg;

    @Schema(description = "进水COD平均")
    private BigDecimal codJs;

    @Schema(description = "出水COD平均")
    private BigDecimal codCs;

    @Schema(description = "进水BOD平均")
    private BigDecimal bodJs;

    @Schema(description = "出水BOD平均")
    private BigDecimal bodCs;

    @Schema(description = "进水氨氮平均")
    private BigDecimal adJs;

    @Schema(description = "出水氨氮平均")
    private BigDecimal adCs;

    @Schema(description = "总磷进水平均")
    private BigDecimal zlJs;

    @Schema(description = "总磷出水平均")
    private BigDecimal zlCs;

    @Schema(description = "进水瞬时流速")
    private String jsShsLs;
    @Schema(description = "出水瞬时流速")
    private String csSsLs;
    @Schema(description = "前池液位")
    private String qcYw;
    @Schema(description = "后池液位")
    private String hcYw;

    @Schema(description = "总氮进水值")
    private BigDecimal jsZd;

    @Schema(description = "总氮出水值")
    private BigDecimal csZd;

    @Schema(description = "ph值")
    private BigDecimal ph;

    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @Schema(description = "采集时间")
    private LocalDateTime cjTime;

    @TableField(exist = false)
    private LocalDateTime startTime;
    @TableField(exist = false)
    private LocalDateTime endTime;

    //污水厂检测时间查询开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private String operTime;
    //污水厂检测时间查询结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private String stopTime;
}
